package com.hzya.frame.system.role.dao;

import com.hzya.frame.system.role.entity.RoleEntity;
import com.hzya.frame.system.role.entity.RoleModuleEntity;
import com.hzya.frame.utils.core.dao.IBaseDao;

/**
 * @description: 角色模块  dao
 * @tableName: system_role_module 
 * @entityName: RoleModuleEntity
 * @author: gjh
 * @history: 1.0
 */
public interface IRoleModuleDao extends IBaseDao<RoleModuleEntity , Long> {
    /**
     * 根据角色ID删除角色下的角色模块
     * @param roleEntity
     * @return
     */
    public int deleteByRole(RoleEntity roleEntity);
}
